package com.whjfxx.terminal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * Created by b.c on 2022/4/27 13:17
 */
@Data
@TableName("resource")
public class Resource {

    @TableId
    private Long id;

    @TableField("title")
    private String title;

    @TableField("`href`")
    private String href;

    @TableField("`image`")
    private String image;

    @TableField("`params`")
    private String params;

    @TableField("`target`")
    private String target;

    @TableField("`icon`")
    private String icon;

    @TableField("`parentId`")
    private Long parentId;

    @TableField("`type`")
    private String type;

    @TableField("`show`")
    private Integer show;

    @TableField("`status`")
    private Integer status;

    @TableField("`sort_id`")
    private Integer sortId;

    @TableField("`deleted`")
    private Integer deleted;

    @TableField("`create_time`")
    private Date createTime;

    @TableField("`create_user`")
    private Long createUser;

    @TableField("`update_time`")
    private Date updateTime;

    @TableField("`update_user`")
    private Long updateUser;

    @TableField("resource_type")
    private String resourceType;

}
